<extend name="Base/common"/>
<block name="style">
     <link href="__CSS__/jxgl.css" type="text/css" rel="stylesheet">
</block>
<block name="header">
    <include file="Public/_nav"/>
</block>
<block name="body">

      <!--   <include file="Public/_hot_sell"/> -->
        <!-- 左侧菜start -->
        <div class="col-xs-3">

            <div class="common_block_border">
                <div class="content ">
                <include file="Public/my"  /> 
                </div>
            </div>
            <div class="clearfix"></div>

             <div class="common_block_border">                
                <div class="content ">
                <include file="Public/sidebar"  />
                </div>
            </div>
        </div>
        <!-- 左侧菜end -->

        <!-- 右侧内容开始 -->
        <div class="col-xs-9">
        <div class="common_block_border">
          <ul class="nav nav-tabs">
            <li><a href="{:U('Xshj/index')}">学生获奖登记</a></li>
            <li><a href="{:U('Xshj/hjhz')}">学生获奖情况汇总</a></li>
            <li  class="active"><a href="{:U('Xshj/edit')}">学生获奖修改</a></li>
            <if condition="check_auth('Admin/Index/index')"><li><a href="{:U('Xshj/cate')}">获奖等级设置</a></li></if>
          </ul>

         <!-- 表单start -->

     <div class="right_box">
      <form class="form-horizontal form-condensed" role="form" method="post" action="" >
        <legend>获奖登记 : <span style="color:#CC4444"> 学生获奖信息</span></legend>
        <div class="form-group">
          <label class="col-md-2 control-label required">班级</label>
          <div class="col-md-3">

            <input name="class" id="class" value="{$data.class}" class="form-control" type="text" style="ime-mode:active">
          </div>
          <label class="col-md-2 control-label required">获奖学生</label>
          <div class="col-md-4">
          <input name="student" id="student" value="{$data.student}" class="form-control" type="text" style="ime-mode:active">
          </div> 
        </div>
        <div class="form-group">
          <label class="col-md-2 control-label required">指导教师</label>
          <div class="col-md-3">
            <input name="teacher" id="teacher" value="{$data.teacher}" class="form-control" type="text" style="ime-mode:active">
          </div>
          <label class="col-md-2 control-label required">获奖日期</label>
          <div class="col-md-4">
              <input name="date" id="date" value="{$data.date}" class="time form-control input-group date form_datetime" type="text" style="ime-mode:inactive">
				    <link href="__ZUI__/lib/datetimepicker/datetimepicker.min.css" rel="stylesheet" type="text/css">
				    <script src="__ZUI__/lib/datetimepicker/datetimepicker.min.js"></script>
				    <script>

				        $('.time').datetimepicker({
				            language:  'zh-CN',
				            weekStart: 1,
				            todayBtn:  1,
				            autoclose: 1,
				            todayHighlight: 1,
				            startView: 2,
				            minView: 2,
				            forceParse: 0,
				            format: 'yyyy-mm'
				        });
				    </script>           
          </div>
        </div>

        <div class="form-group">
          <label class="col-md-2 control-label required">获奖等级</label>
          <div class="col-md-3">
                 <input name="hjdj" id="hjdj" value="{$data.hjdj}" class="form-control" type="text" style="ime-mode:active">
          </div>
          <label class="col-md-2 control-label required">举办单位</label>
          <div class="col-md-4">
             <input name="jbdw" id="jbdw" value="{$data.jbdw}" class="form-control" type="text" style="ime-mode:active">
          </div>
        </div>


        <div class="form-group">
          <label class="col-md-2 control-label required">获奖内容</label>
          <div class="col-md-9 has-error">
             <input name="content" id="content" value="{$data.content}" class="form-control" placeholder="" type="text" style="ime-mode:active">         
          </div>
        </div>

        <div class="form-group">
          <label class="col-md-2 control-label">备注</label>
          <div class="col-md-9">
            <textarea name="bz" id="bz" rows="2" class="form-control">{$data.bz}</textarea>
          </div>
        </div>
        <div class="form-group">

           <div class="col-md-offset-2 col-md-9 has-error">            
             <div class="help-block alert alert-warning">获奖日期仅填年月即可，如2016年6月23日，填写时为2016-06！<br/>请填写获县一等奖以上的奖项！</div>
           </div>
        </div>

        <div class="form-group">
          <div class="col-md-offset-2 col-md-2">
             <input id="submit" class="btn btn-block btn-primary" value="提交保存" data-loading="稍候..." type="submit">             
             <input name="id" id="id" value="{$data.id}" type="hidden">
          </div>
        </div>
      </form>
    </div>
     <!-- 表单end -->
    <hr/>
    </div>
        <!-- 右侧内容结束 -->  
       

   
</block>
